package cn.zhangxin.pethome.constants;

//系统常量
public class BaseConstants {

    //店铺状态
    public class Shop{
        public static final int STATE_WAIT_AUTID = 1 ; //"待审核";
        public static final int STATE_WAIT_ACTIVE = 2 ; //"审核通过，待激活";
        public static final int STATE_ACTIVE_SUCCESS = 3 ; //"激活成功";
        public static final int STATE_REJECT_AUDIT = 4 ; //"驳回";
    }
    //店铺状态
    public class Serve{
        public static final long STATE_DOWN = 0 ; //"下架";
        public static final long STATE_ON = 1 ; //"上架";
    }
    //宠物发布状态 和 宠物发布日志状态
    public class Publish{
        public static final int STATE_WAIT_ACTIVE = 1 ; //"审核通过";
        public static final int STATE_REJECT_AUDIT = 2 ; //"驳回";

        public static final int STATE_ERROR = 0 ; //"失败";
        public static final int STATE_SUCCESS = 1 ; //"成功";
    }
    //员工状态
    public class Employee{
        public static final int STATE_NORMAL = 1 ; //"正常",
        public static final int STATE_LOCK = 2 ; //"锁定",
        public static final int STATE_LOGOUT = 3 ; //"注销"
    }
    //宠物状态
    public class PetState{
        public static final long STATE_DOWN = 0 ; //状态：0下架 1上架
        public static final long STATE_ON = 1 ;
        public static final int STATE_ERROR = 0 ; //日志状态：0下架 1成本
        public static final int STATE_SUCCEE = 1 ;
    }
    //用户状态
    public class User{
        public static final int STATE_REGISTER= 1 ; //"已注册",
        public static final int STATE_ACTIVATE = 2 ; //"已激活",
        public static final int STATE_FORBIDDEN = 3 ; //"禁用"
    }
    //Logininfo用户身份
    public class LogininfoType{
        public static final int STATE_ADMIN= 0 ; //"管理员",
        public static final int STATE_USER = 1 ; //"用户",
    }
    //Logininfo用户信息
    public class LogininfoDisable{
        public static final int STATE_CANNOT= 0 ; //"不可以",
        public static final int STATE_USABLE = 1 ; //"可用",
    }

    //存入redis的后缀
    public class Redis{
        public static final String REGISTER = "-register" ; //保存用户注册验证码key
        public static final String REGISTERTime = "-registertime" ; //保存用户注册验证码时间key

        public static final String BIND = "-bind"; //表示注册使用
        public static final String BIND_TIME = "-bindTime"; //表示注册时间的key
    }


    //conclusion返回参数
    public class Conclusion{
        public static final String COMPLIANCE = "合规"; //"正常",
        public static final String NOTCOMPLIANCE = "不合规" ; //"不合规",
        public static final String SUSPECTED = "疑似" ; //"疑似",
        public static final String AUDITFAILURE = "审核失败" ; //"审核失败",
    }
}